﻿// JavaScript Document

/*------- Parts4 ---------*/
function addToCart(isLogin)
{
	if (isLogin == 1)
	{
		document.getElementById('status').value = 'yes';
		//alert(document.getElementById('status').value);
		document.getElementById('parts4_form').submit();
	}
	else
	{
		alert('Please login to use shopping cart.');
	}
}

function displayCart()
{
	
}